package com.itjavas.cslp2.service;

import com.itjavas.cslp2.pojo.entity.Course;
import com.itjavas.cslp2.pojo.entity.User;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public interface CourseService {
    //创建课程
    ResponseEntity<Boolean> createCourse(Course course);
    //查询所有课程
    List<Course> findAllCourse();
    //编辑已有课程
    ResponseEntity<Boolean> editCourse(Course course);
    //删除课程
    ResponseEntity<Boolean> deleteCourse(String courseId);
    //审核资料
    ResponseEntity<Boolean> examMaterial(Course course);

}
